<?php 
	/**
	 * @todo smarty 类
	 */
	require_once("smarty/Smarty.class.php");
	class MySmarty extends Smarty {
			public function __construct($path =''){
				parent::Smarty();
				$this->template_dir = _CNTVSPORTGUESSROOT_.'/templates/'.$path;	//模板页是常更新的，所以放在外层
				$this->compile_dir = _CNTVSPORTGUESSROOT_.'/templates_c/'.$path;	//编译的文件要分文件夹，以便不同层的编译后文件不会因为文件名混杂在一起
				$this->cache_dir = _CNTVSPORTGUESSROOT_.'/cache';
				$this->config_dir = _CNTVSPORTGUESSROOT_.'/configs';
				$this->compile_check = true;
			}
	}
?>